package com.soladhoc.webapps.client.gin;

import com.gwtplatform.mvp.client.gin.AbstractPresenterModule;
import com.gwtplatform.mvp.client.gin.DefaultModule;
import com.soladhoc.webapps.client.place.ClientPlaceManager;
import com.soladhoc.webapps.client.mvp.AnnouncesPresenter;
import com.soladhoc.webapps.client.mvp.AnnouncesView;

public class ClientModule extends AbstractPresenterModule {

	@Override
	protected void configure() {
		install(new DefaultModule(ClientPlaceManager.class));

		bindPresenter(AnnouncesPresenter.class,
				AnnouncesPresenter.AnnounceView.class, AnnouncesView.class,
				AnnouncesPresenter.MyProxy.class);
	}
}
